#
# Makefile
#
# $Id: //poco/1.3/Net/samples/EchoServer/Makefile#1 $
#
# Makefile for Khan NOS CLI Server
#


CFLAGS     = $(XEN_CFLAGS)

include $(POCO_BASE)/build/rules/global

DEFAULT_TARGET = shared_debug
#DEFAULT_TARGET = static_debug

XEN_INC = /vobs/SI/XVR_SP_0906/BASE/include
XEN_LIBS = rt m nsl epoll  FileDb Ce Sk U Mms Gen
XEN_LIBPATH = /vobs/SI/XVR_SP_0906/BASE/lib/Linux2.6.18_ICC


POCO_ADD_INCLUDE= $(BOOST_ROOT)  $(XEN_INC)
POCO_ADD_LIBRARY=$(BOOST_ROOT)/stage/lib.static  $(XEN_LIBPATH)


BOOST_LIBS  = boost_iostreams boost_system boost_thread boost_date_time boost_regex boost_serialization 
#BOOST_LIBS  = boost_system-mt-s boost_thread-mt-s boost_date_time-mt-s boost_regex-mt-s boost_serialization-mt-s 

main_tst = tst_vtycli
agent = khan cmd_agent_mng cmd_mng_session vty_agent_session  vty_ipc_msg io_service_pool 
xsg_cmd = xsg_sp_cmd xsg_sp_util xsg_sp_runcfg
xener = HsimMain HsimUser TestEtc xen_mmc_mng

objects = khan tst_par
objects = $(xener) $(agent) $(main_tst) $(xsg_cmd)
target  = vclient

target_version  = 1
target_libs     = ${BOOST_LIBS}  util  $(XEN_LIBS)

include $(POCO_BASE)/build/rules/exec
